package com.zcoj.controller.User;

import com.zcoj.core.model.ApiResponse;
import com.zcoj.service.FilingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenbin
 * @version 1.0
 * @description: TODO
 * @date 2023/5/22 19:05
 */
@RequestMapping("/filing")
@RestController
public class FilingController {

    @Autowired
    private FilingService filingService;


    @GetMapping("/getFiling")
    public ApiResponse getFiling(){
        return ApiResponse.success(filingService.searchFilingNumber());
    }
}
